import axios from './axios';

export const getlist =()=>{
    return axios({
        url:'http://localhost:12345/api/show/indexList',
        method:'get',
    })
}

export const qing =(id:any)=>{
    return axios({
        url:'http://localhost:12345/api/show/detail/'+id,
        method:'get',
       data:{
            id,
       }
    })
}

export const cheng =(data:any)=>{
    return axios({
        url:'http://localhost:12345/api/city/hot',
        method:'get',
        data,
    })
}